package com.dps.omc.strategy.handler;

import com.dps.omc.model.AgentNode;
import com.dps.omc.model.TemplateHandler;
import com.dps.omc.utils.StateConstants;
import com.dps.omc.utils.SysSetting;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by lip on 2016-01-21.
 */
@Component
public class FileHostStep implements IStepHandler{

    public void process(AgentNode agentNode, Map<String, String> data, TemplateHandler templateHandler) {

        String fileHost = SysSetting.getValue(StateConstants.FILE_HOST);
        data.put(StateConstants.FILE_HOST,fileHost);
    }

}
